( grid, color, x1, y1, x2, y2 ) ( grid, color, x1Grid, y1Grid, x2Grid, y2Grid ) ( grid, color, x1#, y1#, x2#, y2# ) These functions fill the rectangle with opposite corners at the specified coordinates. color = -1 means draw in the current drawing color. No color attribute is changed. |
|
( grid, @x, @y ) ( grid, @xGrid, @yGrid ) ( grid, @x#, @y# ) These functions return the current value of the appropriate drawpoint. |
|
( grid, @x, @y, @red, @green, @blue, @color ) ( grid, @xGrid, @yGrid, @red, @green, @blue, @color ) ( grid, @x#, @y#, @red, @green, @blue, @color ) These functions grab the color of the pixel at the appropriate drawpoint, and return the drawpoint coordinates and the color of the pixel as 16-bit color intensities (red,green,blue), and a standard color (color) . -1 is returned in (red,green,blue,color) if the drawpoint is outside grid or the underlying graphics system does not support this operation. |
|
( grid, dx, dy ) ( grid, dxGrid, dyGrid ) ( grid, dx#, dy# ) These functions move the appropriate drawpoint to a new position computed by adding the specified offset to its current value. |
|
( grid, x, y ) ( grid, xGrid, yGrid ) ( grid, x#, y# ) These functions set the appropriate drawpoint to the specified value. These functions are equivalent to XgrSetDrawpoint() functions. |
|
( grid, x, y ) ( grid, xGrid, yGrid ) ( grid, x#, y# ) These functions set the appropriate drawpoint to the specified value. These functions are equivalent to XgrSetDrawpoint() functions. |